// 自动生成模板Scaleuser
package model

import (
	"gin-vue-admin/global"
)

// MindScale 结构体
// 如果含有time.Time 请自行import time包
type MindScale struct {
	global.GVA_MODEL
	global.ReqModel
	Account          string       `json:"account" form:"account" gorm:"column:account;comment:用户账户名称;type:varchar(50);"`
	Avatar           string       `json:"avatar" form:"avatar" gorm:"column:avatar;comment:账号头像;type:varchar(100);"`
	Career           string       `json:"career" form:"career" gorm:"column:career;comment:职业身份;type:varchar(50);"`
	Location         string       `json:"location" form:"location" gorm:"column:location;comment:;type:varchar(50);"`
	Name             string       `json:"name" form:"name" gorm:"column:name;comment:用户姓名;type:varchar(50);"`
	PlateForm        int          `json:"plateForm" form:"plateForm" gorm:"column:plate_form;comment:社交平台类型;type:bigint;size:19;"`
	SelfIntroduction string       `json:"selfIntroduction" form:"selfIntroduction" gorm:"column:self_introduction;comment:自我介绍;type:tinytext;"`
	Sex              int          `json:"sex" form:"sex" gorm:"column:sex;comment:性别;type:smallint;"`
	MindScaleRes     MindScaleRes `json:"mindScaleRes" form:"mindScaleRes" gorm:"foreignKey:UserID"`
}

// TableName MindScale 表名
func (MindScale) TableName() string {
	return "mind_scale"
}
